/**
 * 
 */
var controllers = {};

controllers.HfrController = function ($scope, $rootScope, $timeout, $window, $route, AuthService) {
	$scope.isAuthorized = AuthService.isAuthorized;
	
	$scope.closeAlert = function () {
		$rootScope.message.error = false;
		$rootScope.message.success = false;
		$rootScope.message.text = "";
	};
	
	$scope.reloadRoute = function() {
		$route.reload();
		//$window.location.reload();
	}
};

hfrApp.controller(controllers);